home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
powerb5.zip
/
P5UTL012.TIP
< prev
next >
Wrap
Text File
|
1993-06-01
|
2KB
|
55 lines
My wife was annoyed that our AT compatible booted up with
the 101-key keyboard's Num Lock turned on, so I wrote a
DEBUG script to turn Num Lock off at boot time. You can do
the same.
The secret is a DEBUG script called NUMLOCK.OFF, which
contains two DEBUG commands:
E40:17 0
Q
Once you've created the file, the command to turn off Num
Lock is:
---- BEGIN LISTING ----
DEBUG < NUMLOCK.OFF > NUL
---- END LISTING ----
To be safe, it's a good idea to test the command from the
DOS prompt before adding it to your AUTOEXEC.BAT file.
Douglas Miller
Pendleton, Indiana
Editor's Note: This tip takes care of one of my pet peeves
-- systems that insist on turning Num Lock on at boot time.
Note, however, that while the technique works on the vast
majority of current systems, it fails on a few -- mostly
older PCs and XTs. And if it does work on an older PC, you
may find that the program turns off Num Lock but leaves the
light on -- after which the light is on when Num Lock is off
and vice versa. But on most PC compatibles, this script is a
simple and effective way to turn Num Lock off.
For your convenience, the file NUMLOCK.OFF is included on
your PowerBase *.* Volume 5 diskette in the P5UTL directory;
copy it to a convenient place on your hard disk if you plan
to use it. The command you need to insert in AUTOEXEC.BAT
can be exported to a text file using the PowerBase *.*
Desktop's Alt-F command. (Don't save the output of the Alt-F
command directly to your AUTOEXEC.BAT file, though, or
you'll overwrite what's already there. Instead, save to a
file with a different name and edit the command into your
AUTOEXEC.BAT with your favorite text editor.) Also, remember
to change the command to state the full pathname of the
NUMLOCK.OFF file on your system.
Title: No New Num Locks
Category: UTL
Issue Date: December, 1992
Editor: Brett Glass
Supplementary Files: P5UTL\NUMLOCK.OFF
Filename: P5UTL012.TIP